Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: colors update ternary to if else #55700

Conversation

dancastillo
Copy link
Contributor

Chore: Update for comment from ternary to if else

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels Nov 3, 2024
Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.40%. Comparing base (c2ff449) to head (cab5123).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55700      +/-   ##
==========================================
- Coverage   88.41%   88.40%   -0.02%     
==========================================
  Files         654      654              
  Lines      187594   187605      +11     
  Branches    36090    36083       -7     
==========================================
- Hits       165870   165859      -11     
- Misses      14980    15000      +20     
- Partials     6744     6746       +2     
Files with missing lines Coverage Δ
lib/internal/util/colors.js 100.00% <100.00%> (ø)

... and 30 files with indirect coverage changes

@RedYetiDev
Copy link
Member

Please amend your commit to follow the commit guidelines. Also, the GitHub bot doesn't like merge commits, so a rebase would be nice

},
};

module.exports.refresh();
module.exports.refresh();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
module.exports.refresh();
module.exports.refresh();

@RedYetiDev
Copy link
Member

Why? This is purely stylistic. What's stopping a future PR from undoing this change, as there's no lint rule enforcing it.

@dancastillo dancastillo force-pushed the chore-colors-update-ternary-to-if-else branch from b691d01 to cab5123 Compare November 3, 2024 13:24
@dancastillo dancastillo closed this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants